<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxTriangle Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxTriangle.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classPxTriangle-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxTriangle Class Reference<div class="ingroups"><a class="el" href="group__geomutils.html">Geomutils</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Triangle class.  
 <a href="classPxTriangle.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxTriangle_8h_source.html">PxTriangle.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for PxTriangle:</div>
<div class="dyncontent">
<div class="center"><img src="classPxTriangle__coll__graph.png" border="0" usemap="#PxTriangle_coll__map" alt="Collaboration graph"/></div>
<map name="PxTriangle_coll__map" id="PxTriangle_coll__map">
<area shape="rect" id="node2" href="classPxVec3.html" title="3 Element vector class. " alt="" coords="13,5,81,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa85f97202f9b4811cdacc3f126da023b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#aa85f97202f9b4811cdacc3f126da023b">PxTriangle</a> ()</td></tr>
<tr class="memdesc:aa85f97202f9b4811cdacc3f126da023b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aa85f97202f9b4811cdacc3f126da023b">More...</a><br /></td></tr>
<tr class="separator:aa85f97202f9b4811cdacc3f126da023b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c5c6f1913b2e0c3bb2fc82a5d3a5971"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#a4c5c6f1913b2e0c3bb2fc82a5d3a5971">PxTriangle</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;p0, const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;p1, const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;p2)</td></tr>
<tr class="memdesc:a4c5c6f1913b2e0c3bb2fc82a5d3a5971"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a4c5c6f1913b2e0c3bb2fc82a5d3a5971">More...</a><br /></td></tr>
<tr class="separator:a4c5c6f1913b2e0c3bb2fc82a5d3a5971"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf7b90f828324f6ec1d48ef6b1776728"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#aaf7b90f828324f6ec1d48ef6b1776728">PxTriangle</a> (const <a class="el" href="classPxTriangle.html">PxTriangle</a> &amp;triangle)</td></tr>
<tr class="memdesc:aaf7b90f828324f6ec1d48ef6b1776728"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#aaf7b90f828324f6ec1d48ef6b1776728">More...</a><br /></td></tr>
<tr class="separator:aaf7b90f828324f6ec1d48ef6b1776728"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d735ae1b3aa144817424b64ce0dc76e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#a6d735ae1b3aa144817424b64ce0dc76e">~PxTriangle</a> ()</td></tr>
<tr class="memdesc:a6d735ae1b3aa144817424b64ce0dc76e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a6d735ae1b3aa144817424b64ce0dc76e">More...</a><br /></td></tr>
<tr class="separator:a6d735ae1b3aa144817424b64ce0dc76e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4c701d8c6f8ca3cbe652546d063f8fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#ae4c701d8c6f8ca3cbe652546d063f8fa">operator=</a> (const <a class="el" href="classPxTriangle.html">PxTriangle</a> &amp;triangle)</td></tr>
<tr class="memdesc:ae4c701d8c6f8ca3cbe652546d063f8fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#ae4c701d8c6f8ca3cbe652546d063f8fa">More...</a><br /></td></tr>
<tr class="separator:ae4c701d8c6f8ca3cbe652546d063f8fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb3fd7854de70dad3983f0e0f21809d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#afb3fd7854de70dad3983f0e0f21809d6">normal</a> (<a class="el" href="classPxVec3.html">PxVec3</a> &amp;_normal) const</td></tr>
<tr class="memdesc:afb3fd7854de70dad3983f0e0f21809d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the normal of the Triangle.  <a href="#afb3fd7854de70dad3983f0e0f21809d6">More...</a><br /></td></tr>
<tr class="separator:afb3fd7854de70dad3983f0e0f21809d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a340ffef85ce83892864bba3e392b44d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#a340ffef85ce83892864bba3e392b44d1">denormalizedNormal</a> (<a class="el" href="classPxVec3.html">PxVec3</a> &amp;_normal) const</td></tr>
<tr class="memdesc:a340ffef85ce83892864bba3e392b44d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the unnormalized normal of the triangle.  <a href="#a340ffef85ce83892864bba3e392b44d1">More...</a><br /></td></tr>
<tr class="separator:a340ffef85ce83892864bba3e392b44d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42e11778095f39d44c755389cd6076f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxReal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#a42e11778095f39d44c755389cd6076f1">area</a> () const</td></tr>
<tr class="memdesc:a42e11778095f39d44c755389cd6076f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the area of the triangle.  <a href="#a42e11778095f39d44c755389cd6076f1">More...</a><br /></td></tr>
<tr class="separator:a42e11778095f39d44c755389cd6076f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c836411ad6653afd8981a890f6b05dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#a3c836411ad6653afd8981a890f6b05dc">pointFromUV</a> (PxReal u, PxReal v) const</td></tr>
<tr class="separator:a3c836411ad6653afd8981a890f6b05dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a308bb439efe9075396068e251da9e0ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangle.html#a308bb439efe9075396068e251da9e0ef">verts</a> [3]</td></tr>
<tr class="memdesc:a308bb439efe9075396068e251da9e0ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Array of Vertices.  <a href="#a308bb439efe9075396068e251da9e0ef">More...</a><br /></td></tr>
<tr class="separator:a308bb439efe9075396068e251da9e0ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Triangle class. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa85f97202f9b4811cdacc3f126da023b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa85f97202f9b4811cdacc3f126da023b">&#9670;&nbsp;</a></span>PxTriangle() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxTriangle::PxTriangle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a id="a4c5c6f1913b2e0c3bb2fc82a5d3a5971"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c5c6f1913b2e0c3bb2fc82a5d3a5971">&#9670;&nbsp;</a></span>PxTriangle() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxTriangle::PxTriangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>p0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>p1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>p2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p0</td><td>Point 0 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p1</td><td>Point 1 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p2</td><td>Point 2 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aaf7b90f828324f6ec1d48ef6b1776728"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf7b90f828324f6ec1d48ef6b1776728">&#9670;&nbsp;</a></span>PxTriangle() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxTriangle::PxTriangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxTriangle.html">PxTriangle</a> &amp;&#160;</td>
          <td class="paramname"><em>triangle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">triangle</td><td>Tri to copy </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="classPxTriangle.html#a308bb439efe9075396068e251da9e0ef">verts</a>.</p>

</div>
</div>
<a id="a6d735ae1b3aa144817424b64ce0dc76e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d735ae1b3aa144817424b64ce0dc76e">&#9670;&nbsp;</a></span>~PxTriangle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxTriangle::~PxTriangle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a42e11778095f39d44c755389cd6076f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42e11778095f39d44c755389cd6076f1">&#9670;&nbsp;</a></span>area()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxReal PxTriangle::area </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the area of the triangle. </p>
<dl class="section return"><dt>Returns</dt><dd>Area of the triangle. </dd></dl>

<p class="reference">References <a class="el" href="classPxVec3.html#a5f7512ff35bdf6f8f5cff4dbdd1bcdd0">PxVec3::magnitude()</a>.</p>

</div>
</div>
<a id="a340ffef85ce83892864bba3e392b44d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a340ffef85ce83892864bba3e392b44d1">&#9670;&nbsp;</a></span>denormalizedNormal()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void PxTriangle::denormalizedNormal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>_normal</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the unnormalized normal of the triangle. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">_normal</td><td>Triangle normal (not normalized). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afb3fd7854de70dad3983f0e0f21809d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb3fd7854de70dad3983f0e0f21809d6">&#9670;&nbsp;</a></span>normal()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void PxTriangle::normal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>_normal</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the normal of the Triangle. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">_normal</td><td>Triangle normal. </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="classPxVec3.html#ab67c4b05db03b0ceeddc74b1f6f77af5">PxVec3::normalize()</a>.</p>

</div>
</div>
<a id="ae4c701d8c6f8ca3cbe652546d063f8fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4c701d8c6f8ca3cbe652546d063f8fa">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void PxTriangle::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxTriangle.html">PxTriangle</a> &amp;&#160;</td>
          <td class="paramname"><em>triangle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assignment operator. </p>

<p class="reference">References <a class="el" href="classPxTriangle.html#a308bb439efe9075396068e251da9e0ef">verts</a>.</p>

</div>
</div>
<a id="a3c836411ad6653afd8981a890f6b05dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c836411ad6653afd8981a890f6b05dc">&#9670;&nbsp;</a></span>pointFromUV()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> PxTriangle::pointFromUV </td>
          <td>(</td>
          <td class="paramtype">PxReal&#160;</td>
          <td class="paramname"><em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PxReal&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Computes a point on the triangle from u and v barycentric coordinates. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a308bb439efe9075396068e251da9e0ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a308bb439efe9075396068e251da9e0ef">&#9670;&nbsp;</a></span>verts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> PxTriangle::verts[3]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Array of Vertices. </p>

<p class="reference">Referenced by <a class="el" href="classPxTriangle.html#ae4c701d8c6f8ca3cbe652546d063f8fa">operator=()</a>, and <a class="el" href="classPxTriangle.html#aaf7b90f828324f6ec1d48ef6b1776728">PxTriangle()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxTriangle_8h_source.html">PxTriangle.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxTriangle.html">PxTriangle</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
